<topicVersion>
  <topicName>TableFormattingRules</topicName>
  <wikiDir>WikiRoot\WikiDir</wikiDir>
  <creator></creator>
  <createdOn>2013-03-05T10:23:47.727</createdOn>
  <version>4</version>
  <editReason />
  <wikiText>!!""Table"" Formatting Features

Basic tables are done like this:

 ||Region||Sales||
 ||East||$100||
 ||West||$500||

which appears like this:

||Region||Sales||
||East||$100||
||West||$500||

Rich table formatting allows control over the following advanced table formatting features:
	* Table-level formatting
		* Center
		* Float left or right 
		* Border (or no border)
		* Width (percentage)
	* Cell-level formatting
		* Content alignment (left, right, center)
		* Row and column spans
		* Cell highlighting
		* Breaking (allowed or not) 
		* Colored cell backgrounds
		* Width (percentage)

These rich formatting options are specified using a table formatting expression immediately after the ""||"" characters for a cell.  The table formatting expression is delimited by { and } (curly-brace characters).  Formatting that applies to the whole table must appear prior to the first cell (though it can be duplicated and will be ignored in the other cells).

----

!Table Formatting Rules and Examples

!!Center - T^

A table can be centered using the table formatting expression '''T^'''.  For example,

 ||{T^}Region||Sales||
 ||East||$100||
 ||West||$500||

which appears like this:

||{T^}Region||Sales||
||East||$100||
||West||$500||

!!Floating Tables - T[ and T]

A table can be configured to float on the left or right with surrounding content wrapped around.  This is done with '''T[''' and '''T]'''.  For example,

 ||{T[}Region||Sales||
 ||East||$100||
 ||West||$500||

which appears like this:

||{T[}Region||Sales||
||East||$100||
||West||$500||

Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  

Or, floating on the right:

 ||{T]}Region||Sales||
 ||East||$100||
 ||West||$500||

which appears like this:

||{T]}Region||Sales||
||East||$100||
||West||$500||

Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  

Question: Once you're done writing text that's relevant to the table, is there a way you can force a "break" so that you're next paragraph is below the table?  I've tried various things to try and get my next paragraph to be "not wrapped" but as soon as you increase or decrease your window size, screen resolution, or whatever, so that more or less text fits beside the table, it always ends up that my next paragraph is not where I wanted it to be.

!!Border = T-

By default, a table is given a border.  You can hide the border using '''T-'''.  For example:

 ||{T-}Region||Sales||
 ||East||$100||
 ||West||$500||

which appears like this:

||{T-}Region||Sales||
||East||$100||
||West||$500||


!!Width 

You can specify the preferred width of the table (as a percentage of the whole display area for the topic) using TWxx, where xx is the percentage.  For example,

 ||{TW25}One Quarter||
 ||This is the story of a man named bill.  This is the story ....||

produces: 

||{TW25}One Quarter||
||This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.||

whereas:

 ||{TW90}Ninety Percent||
 ||This is the story of a man named bill.  This is the story ....||

produces:

||{TW90}Ninety Percent||
||This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.||


!Cell Formatting Features

!!Row and column spans  - Cnnn and Rnnn

Sometimes you want a cell to span more than one column or row.  This can be achieved by specifying the Cnnn and Rnnn options.

For example:

 ||{R2}Region||{C2}Sales||
 ||Q1||Q2||
 ||East||$100||$800||
 ||West||$500||$9000||

which causes the Sales cell to span two columns and the Region cell to span two rows:

||{R2}Region||{C2}Sales||
||Q1||Q2||
||East||$100||$800||
||West||$500||$9000||

!!Cell content alignment - [ ^ ]

You can control the alignment in a cell by using '''[''' (left), ''']''' (right) and '''^''' (center).  Note the position of the word ''Sales'' in each of the following three examples:

First row:

 ||{[C2}Sales||

||{[C2}Sales||
||Q1||Q2||
||$100||$800||
||$500||$9000||

First row:

 ||{^C2}Sales||

||{^C2}Sales||
||Q1||Q2||
||$100||$800||
||$500||$9000||

First row:

 ||{]C2}Sales||

||{]C2}Sales||
||Q1||Q2||
||$100||$800||
||$500||$9000||

Question: Is VALIGN exposed in any way?

!!Cell highlighting - !

By including the '!' table formatting rule, you can cause cells to be highlighted.  This is useful, for example, in header rows and for other cells that you want to highlight:

 ||{^!C2}Sales||
 ||Q1||Q2||
 ||$100||$800||
 ||$500||{!}$9000||

produces: 

||{^!C2}Sales||
||Q1||Q2||
||$100||$800||
||$500||{!}$9000||

!!Width 

You can specify the preferred width of the column (as a percentage of the width of the whole table) using Wxx, where xx is the percentage.  For example,

 ||{W75}Q1||Q2||Q3||Q4||
 ||$100||$800||$500||$900||
 ||$500||$9000||$500||$900||

produces: 

||{W75}Q1||Q2||Q3||Q4||
||$100||$800||$500||$900||
||$500||$9000||$500||$900||


!!Breaking - +

By default, content will be word wrapped in table cell.  You can disable this behavior for special circumstances by using the '''+''' table formatting rule.

For example, in the following table the wrapping is disabled in the left hand cell, while the right hand cell is normal.

 ||{+} The quick ... || The quick ... ||


||{+} The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. || The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. ||

Note that you may need to make your browser window narrower to see the impact of this.

!!Colored Cells - *color*

*color* can be used to set the background color of a table cell to the given color.  You can use either named colors (like 'red', 'green', etc.) or hex colors ('#FF0000' or '#00FF00').

Some examples:

 ||{*red*}RED RED RED||
 ||{*lightgreen*}LIGHT GREEN||
 ||{*#c0c0c0*}LIGHT GREY||

produces: 

||{*red*}RED RED RED||
||{*lightgreen*}LIGHT GREEN||
||{*#c0c0c0*}LIGHT GREY||

''Note: colored cells requires build 1699 or later''

!Combining formatting expressions
If you want to combine two or more of these features (example: Floating Right without Border), you have to insert all expressions in the brace.
 ||{T[T-}'''This is left''' (y)||

produces:

||{T[T-}'''This is left''' (y)||

&amp;#160;
 ||{T]T-}'''This is right''' (y)||
produces:

||{T]T-}'''This is right''' (y)||


I used this Feature also to align Images. You make a Table without borders and floating right, and the only thing that is in the table is the link to the image.

</wikiText>
  <body>&lt;WomDocument&gt;
&lt;BaseTopic&gt;http://localhost/LynxWiki/WikiTopic/Index&lt;/BaseTopic&gt;
&lt;BaseEdit&gt;http://localhost/LynxWiki/WikiTopic/Page&lt;/BaseEdit&gt;
&lt;BaseImage&gt;http://localhost/LynxWiki/images/&lt;/BaseImage&gt;
&lt;SiteUrl&gt;http://localhost/LynxWiki/&lt;/SiteUrl&gt;
&lt;InputDoc&gt;&lt;/InputDoc&gt;
&lt;Header level="2"&gt;
&lt;EscapedNoFormatText&gt;Table&lt;/EscapedNoFormatText&gt;&lt;womHeaderText&gt; Formatting Features&lt;/womHeaderText&gt;&lt;AnchorText&gt;_1__Formatting_Features&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;Basic tables are done like this:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||Region||Sales||
 ||East||$100||
 ||West||$500||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;which appears like this:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;Region&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;East&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;West&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;Rich table formatting allows control over the following advanced table formatting features:&lt;/paraText&gt;&lt;/Para&gt;
&lt;list type="unordered"&gt;&lt;item&gt;
&lt;womListText&gt; Table-level formatting&lt;/womListText&gt;&lt;list type="unordered"&gt;&lt;item&gt;
&lt;womListText&gt; Center&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Float left or right &lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Border (or no border)&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Width (percentage)&lt;/womListText&gt;&lt;/item&gt;
&lt;/list&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Cell-level formatting&lt;/womListText&gt;&lt;list type="unordered"&gt;&lt;item&gt;
&lt;womListText&gt; Content alignment (left, right, center)&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Row and column spans&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Cell highlighting&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Breaking (allowed or not) &lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Colored cell backgrounds&lt;/womListText&gt;&lt;/item&gt;
&lt;item&gt;
&lt;womListText&gt; Width (percentage)&lt;/womListText&gt;&lt;/item&gt;&lt;/list&gt;
&lt;/item&gt;&lt;/list&gt;

&lt;Para&gt;&lt;paraText&gt;These rich formatting options are specified using a table formatting expression immediately after the &lt;/paraText&gt;&lt;EscapedNoFormatText&gt;||&lt;/EscapedNoFormatText&gt;&lt;paraText&gt; characters for a cell.  The table formatting expression is delimited by { and } (curly-brace characters).  Formatting that applies to the whole table must appear prior to the first cell (though it can be duplicated and will be ignored in the other cells).&lt;/paraText&gt;&lt;/Para&gt;
&lt;PageRule/&gt;
&lt;Header level="1"&gt;
&lt;womHeaderText&gt;Table Formatting Rules and Examples&lt;/womHeaderText&gt;&lt;AnchorText&gt;_2_Table_Formatting_Rules_and_Examples&lt;/AnchorText&gt;&lt;/Header&gt;&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Center - T^&lt;/womHeaderText&gt;&lt;AnchorText&gt;_3_Center_-_T&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;A table can be centered using the table formatting expression &lt;/paraText&gt;&lt;Strong&gt;T^&lt;/Strong&gt;&lt;paraText&gt;.  For example,&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{T^}Region||Sales||
 ||East||$100||
 ||West||$500||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;which appears like this:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;TableCenter&gt;T^&lt;/TableCenter&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Region&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;East&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;West&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;
&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Floating Tables - T[ and T]&lt;/womHeaderText&gt;&lt;AnchorText&gt;_4_Floating_Tables_-_T_and_T&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;A table can be configured to float on the left or right with surrounding content wrapped around.  This is done with &lt;/paraText&gt;&lt;Strong&gt;T[&lt;/Strong&gt;&lt;paraText&gt; and &lt;/paraText&gt;&lt;Strong&gt;T]&lt;/Strong&gt;&lt;paraText&gt;.  For example,&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{T[}Region||Sales||
 ||East||$100||
 ||West||$500||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;which appears like this:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;TableFloatLeft&gt;T[&lt;/TableFloatLeft&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Region&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;East&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;West&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  &lt;/paraText&gt;&lt;/Para&gt;

&lt;Para&gt;&lt;paraText&gt;Or, floating on the right:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{T]}Region||Sales||
 ||East||$100||
 ||West||$500||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;which appears like this:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;TableFloatRight&gt;T]&lt;/TableFloatRight&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Region&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;East&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;West&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  Notice that this text wraps around the table.  &lt;/paraText&gt;&lt;/Para&gt;

&lt;SinglelineProperty&gt;&lt;Name&gt;Question&lt;/Name&gt;&lt;womPropertyText&gt;Once you're done writing text that's relevant to the table, is there a way you can force a "break" so that you're next paragraph is below the table?  I've tried various things to try and get my next paragraph to be "not wrapped" but as soon as you increase or decrease your window size, screen resolution, or whatever, so that more or less text fits beside the table, it always ends up that my next paragraph is not where I wanted it to be.&lt;/womPropertyText&gt;&lt;/SinglelineProperty&gt;&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Border = T-&lt;/womHeaderText&gt;&lt;AnchorText&gt;_5_Border__T-&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;By default, a table is given a border.  You can hide the border using &lt;/paraText&gt;&lt;Strong&gt;T-&lt;/Strong&gt;&lt;paraText&gt;.  For example:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{T-}Region||Sales||
 ||East||$100||
 ||West||$500||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;which appears like this:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;BorderlessTable&gt;T-&lt;/BorderlessTable&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Region&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;East&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;West&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;
&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Width &lt;/womHeaderText&gt;&lt;AnchorText&gt;_6_Width_&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;You can specify the preferred width of the table (as a percentage of the whole display area for the topic) using &lt;/paraText&gt;&lt;CreateNewTopic&gt;&lt;StartsWithMulticaps&gt;TWxx&lt;/StartsWithMulticaps&gt;&lt;Namespace&gt;\WikiRoot\WikiDir&lt;/Namespace&gt;&lt;/CreateNewTopic&gt;&lt;paraText&gt;, where xx is the percentage.  For example,&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{TW25}One Quarter||
 ||This is the story of a man named bill.  This is the story ....||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;produces: &lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;TableWidth&gt;TW25&lt;/TableWidth&gt;&lt;/TableStyle&gt;&lt;womCell&gt;One Quarter&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;whereas:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{TW90}Ninety Percent||
 ||This is the story of a man named bill.  This is the story ....||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;produces:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;TableWidth&gt;TW90&lt;/TableWidth&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Ninety Percent&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.  This is the story of a man named bill.&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;
&lt;Header level="1"&gt;
&lt;womHeaderText&gt;Cell Formatting Features&lt;/womHeaderText&gt;&lt;AnchorText&gt;_7_Cell_Formatting_Features&lt;/AnchorText&gt;&lt;/Header&gt;&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Row and column spans  - Cnnn and Rnnn&lt;/womHeaderText&gt;&lt;AnchorText&gt;_8_Row_and_column_spans__-_Cnnn_and_Rnnn&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;Sometimes you want a cell to span more than one column or row.  This can be achieved by specifying the Cnnn and Rnnn options.&lt;/paraText&gt;&lt;/Para&gt;

&lt;Para&gt;&lt;paraText&gt;For example:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{R2}Region||{C2}Sales||
 ||Q1||Q2||
 ||East||$100||$800||
 ||West||$500||$9000||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;which causes the Sales cell to span two columns and the Region cell to span two rows:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;RowSpan&gt;R2&lt;/RowSpan&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Region&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;ColumnSpan&gt;C2&lt;/ColumnSpan&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q1&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q2&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;East&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$800&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;West&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$9000&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;
&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Cell content alignment - [ ^ ]&lt;/womHeaderText&gt;&lt;AnchorText&gt;_9_Cell_content_alignment_-___&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;You can control the alignment in a cell by using &lt;/paraText&gt;&lt;Strong&gt;[&lt;/Strong&gt;&lt;paraText&gt; (left), &lt;/paraText&gt;&lt;Strong&gt;]&lt;/Strong&gt;&lt;paraText&gt; (right) and &lt;/paraText&gt;&lt;Strong&gt;^&lt;/Strong&gt;&lt;paraText&gt; (center).  Note the position of the word &lt;/paraText&gt;&lt;Italics&gt;Sales&lt;/Italics&gt;&lt;paraText&gt; in each of the following three examples:&lt;/paraText&gt;&lt;/Para&gt;

&lt;Para&gt;&lt;paraText&gt;First row:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{[C2}Sales||&lt;/PreformattedSingleLine&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;ColumnLeft&gt;[&lt;/ColumnLeft&gt;&lt;ColumnSpan&gt;C2&lt;/ColumnSpan&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q1&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q2&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$800&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$9000&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;First row:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{^C2}Sales||&lt;/PreformattedSingleLine&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;ColumnCenter&gt;^&lt;/ColumnCenter&gt;&lt;ColumnSpan&gt;C2&lt;/ColumnSpan&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q1&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q2&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$800&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$9000&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;First row:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{]C2}Sales||&lt;/PreformattedSingleLine&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;ColumnRight&gt;]&lt;/ColumnRight&gt;&lt;ColumnSpan&gt;C2&lt;/ColumnSpan&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q1&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q2&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$800&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$9000&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;SinglelineProperty&gt;&lt;Name&gt;Question&lt;/Name&gt;&lt;womPropertyText&gt;Is VALIGN exposed in any way?&lt;/womPropertyText&gt;&lt;/SinglelineProperty&gt;&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Cell highlighting - !&lt;/womHeaderText&gt;&lt;AnchorText&gt;_10_Cell_highlighting_-_&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;By including the '!' table formatting rule, you can cause cells to be highlighted.  This is useful, for example, in header rows and for other cells that you want to highlight:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{^!C2}Sales||
 ||Q1||Q2||
 ||$100||$800||
 ||$500||{!}$9000||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;produces: &lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;ColumnCenter&gt;^&lt;/ColumnCenter&gt;&lt;CellHighlight&gt;!&lt;/CellHighlight&gt;&lt;ColumnSpan&gt;C2&lt;/ColumnSpan&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Sales&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q1&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q2&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$800&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;CellHighlight&gt;!&lt;/CellHighlight&gt;&lt;/TableStyle&gt;&lt;womCell&gt;$9000&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;
&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Width &lt;/womHeaderText&gt;&lt;AnchorText&gt;_11_Width_&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;You can specify the preferred width of the column (as a percentage of the width of the whole table) using Wxx, where xx is the percentage.  For example,&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{W75}Q1||Q2||Q3||Q4||
 ||$100||$800||$500||$900||
 ||$500||$9000||$500||$900||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;produces: &lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;CellWidth&gt;W75&lt;/CellWidth&gt;&lt;/TableStyle&gt;&lt;womCell&gt;Q1&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q2&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q3&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;Q4&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$100&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$800&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$900&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$9000&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$500&lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt;$900&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;
&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Breaking - +&lt;/womHeaderText&gt;&lt;AnchorText&gt;_12_Breaking_-_&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;By default, content will be word wrapped in table cell.  You can disable this behavior for special circumstances by using the &lt;/paraText&gt;&lt;Strong&gt;+&lt;/Strong&gt;&lt;paraText&gt; table formatting rule.&lt;/paraText&gt;&lt;/Para&gt;

&lt;Para&gt;&lt;paraText&gt;For example, in the following table the wrapping is disabled in the left hand cell, while the right hand cell is normal.&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{+} The quick ... || The quick ... ||&lt;EmptyLine&gt;&lt;/EmptyLine&gt;
&lt;/PreformattedSingleLine&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;CellNoWrap&gt;+&lt;/CellNoWrap&gt;&lt;/TableStyle&gt;&lt;womCell&gt; The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. &lt;/womCell&gt;&lt;/womCellText&gt;&lt;womCellText&gt;
&lt;womCell&gt; The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. &lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;Note that you may need to make your browser window narrower to see the impact of this.&lt;/paraText&gt;&lt;/Para&gt;
&lt;Header level="2"&gt;
&lt;womHeaderText&gt;Colored Cells - &lt;/womHeaderText&gt;&lt;AnchorText&gt;_13_Colored_Cells_-_&lt;/AnchorText&gt;&lt;TextileStrong&gt;&lt;womStrongText&gt;color&lt;/womStrongText&gt;&lt;/TextileStrong&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;TextileStrong&gt;&lt;womStrongText&gt;color&lt;/womStrongText&gt;&lt;/TextileStrong&gt;&lt;paraText&gt; can be used to set the background color of a table cell to the given color.  You can use either named colors (like 'red', 'green', etc.) or hex colors ('#&lt;/paraText&gt;&lt;CreateNewTopic&gt;&lt;StartsWithMulticaps&gt;FF0000&lt;/StartsWithMulticaps&gt;&lt;Namespace&gt;\WikiRoot\WikiDir&lt;/Namespace&gt;&lt;/CreateNewTopic&gt;&lt;paraText&gt;' or '#00&lt;/paraText&gt;&lt;CreateNewTopic&gt;&lt;StartsWithMulticaps&gt;FF00&lt;/StartsWithMulticaps&gt;&lt;Namespace&gt;\WikiRoot\WikiDir&lt;/Namespace&gt;&lt;/CreateNewTopic&gt;&lt;paraText&gt;').&lt;/paraText&gt;&lt;/Para&gt;

&lt;Para&gt;&lt;paraText&gt;Some examples:&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{*red*}RED RED RED||
 ||{*lightgreen*}LIGHT GREEN||
 ||{*#c0c0c0*}LIGHT GREY||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;produces: &lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;CellStyleColor&gt;red&lt;/CellStyleColor&gt;&lt;/TableStyle&gt;&lt;womCell&gt;RED RED RED&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;CellStyleColor&gt;lightgreen&lt;/CellStyleColor&gt;&lt;/TableStyle&gt;&lt;womCell&gt;LIGHT GREEN&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;StyleHexColor&gt;#c0c0c0&lt;/StyleHexColor&gt;&lt;/TableStyle&gt;&lt;womCell&gt;LIGHT GREY&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;Italics&gt;Note: colored cells requires build 1699 or later&lt;/Italics&gt;&lt;/Para&gt;
&lt;Header level="1"&gt;
&lt;womHeaderText&gt;Combining formatting expressions&lt;/womHeaderText&gt;&lt;AnchorText&gt;_14_Combining_formatting_expressions&lt;/AnchorText&gt;&lt;/Header&gt;
&lt;Para&gt;&lt;paraText&gt;If you want to combine two or more of these features (example: Floating Right without Border), you have to insert all expressions in the brace.&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{T[T-}'''This is left''' (y)||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;produces:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;TableFloatLeft&gt;T[&lt;/TableFloatLeft&gt;&lt;BorderlessTable&gt;T-&lt;/BorderlessTable&gt;&lt;/TableStyle&gt;&lt;Strong&gt;This is left&lt;/Strong&gt;&lt;womCell&gt; &lt;Emoticon&gt;emoticons/y.gif&lt;/Emoticon&gt;&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;&amp;#160;&lt;/paraText&gt;&lt;/Para&gt;

&lt;PreformattedSingleLine&gt; ||{T]T-}'''This is right''' (y)||&lt;/PreformattedSingleLine&gt;

&lt;Para&gt;&lt;paraText&gt;produces:&lt;/paraText&gt;&lt;/Para&gt;
&lt;Table&gt;&lt;TableRow&gt;&lt;womCellText&gt;
&lt;TableStyle&gt;&lt;TableFloatRight&gt;T]&lt;/TableFloatRight&gt;&lt;BorderlessTable&gt;T-&lt;/BorderlessTable&gt;&lt;/TableStyle&gt;&lt;Strong&gt;This is right&lt;/Strong&gt;&lt;womCell&gt; &lt;Emoticon&gt;emoticons/y.gif&lt;/Emoticon&gt;&lt;/womCell&gt;&lt;/womCellText&gt;&lt;/TableRow&gt;
&lt;/Table&gt;

&lt;Para&gt;&lt;paraText&gt;I used this Feature also to align Images. You make a Table without borders and floating right, and the only thing that is in the table is the link to the image.&lt;/paraText&gt;&lt;/Para&gt;
&lt;/WomDocument&gt;
</body>
</topicVersion>